package com.animee.health.bean;

import android.support.annotation.NonNull;

import java.io.Serializable;

// implements Serializable:让FoodBean可以实现序列化的接口
public class FoodBean implements Serializable {
    private String title;
    private String notmatch;
    private String desc;
    private int picId;

    public FoodBean(String title, String notmatch, String desc, int picId) {
        this.title = title;
        this.notmatch = notmatch;
        this.desc = desc;
        this.picId = picId;
    }

    public FoodBean() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNotmatch() {
        return notmatch;
    }

    public void setNotmatch(String notmatch) {
        this.notmatch = notmatch;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getPicId() {
        return picId;
    }

    public void setPicId(int picId) {
        this.picId = picId;
    }


    @NonNull
    @Override
    public String toString() {
        return "FoodBean{" +
                "title='" + title + '\'' +
                ", notmatch='" + notmatch + '\'' +
                ", picId=" + picId +
                '}';
    }
}
